package com.zxb.core.dao.auth;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zxb.core.dao.BaseEntity;
import lombok.Data;

import java.util.List;

/**
 * @author Zxb
 */
@Data
public class AuthMenu extends BaseEntity {

    private String name;
    private String code;
    private Integer layer;
    private String icon;
    private String url;
    private Integer type;
    private Long pid;
    private Integer sort;
    private Boolean isUse;
    private String layout;

    @TableField(exist = false)
    private List<AuthMenu> children;
}
